package com.kcs.dc.report.view.form;

import com.kcs.common.framework.GenericForm;
import com.kcs.common.utils.commonUtils;

public class UserProfileForm extends GenericForm {
	private String userIdSearch;
	private String userIdSearch_Attr;
	private String hiduserIdsearch;

	private String userNameSearch;
	private String userNameSearch_Attr;
	private String hiduserNameSearch;
	
	private int column;
	private int row;
	
	private String hidUseIdEdit;
	
	private String[] deleteCheckBoxColumn;

	private String[][] userProfile;
	
	/**
	 * Constructor
	 */
	public UserProfileForm() {
		super();
	}

	public String getUserIdSearch() {
		if(userIdSearch == null){
			userIdSearch = "";
		}
		return userIdSearch;
	}

	public void setUserIdSearch(String userIdSearch) {
		this.userIdSearch = commonUtils.trimAll(userIdSearch);
	}

	public String getUserIdSearch_Attr() {
		if (this.userIdSearch_Attr == null) {
			this.userIdSearch_Attr = "";
		}
		return userIdSearch_Attr;
	}

	public void setUserIdSearch_Attr(String userIdSearch_Attr) {
		this.userIdSearch_Attr = userIdSearch_Attr;
	}

	public String getUserNameSearch() {
		if(userNameSearch == null){
			userNameSearch = "";
		}
		return userNameSearch;
	}

	public void setUserNameSearch(String userNameSearch) {
		this.userNameSearch = commonUtils.trimAll(userNameSearch);
	}

	public String getUserNameSearch_Attr() {
		if (this.userNameSearch_Attr == null) {
			this.userNameSearch_Attr = "";
		}
		return userNameSearch_Attr;
	}

	public void setUserNameSearch_Attr(String userNameSearch_Attr) {
		this.userNameSearch_Attr = userNameSearch_Attr;
	}
	
	public int getColumn() {
		return column;
	}

	public void setColumn(int column) {
		this.column = column;
	}

	public int getRow() {
		return row;
	}

	public void setRow(int row) {
		this.row = row;
	}
	
	public String[] getDeleteCheckBoxColumn() {
		if (this.deleteCheckBoxColumn == null) {
			this.deleteCheckBoxColumn = new String[] {};
		}
		return deleteCheckBoxColumn;
	}

	public void setDeleteCheckBoxColumn(String[] deleteCheckBoxColumn) {
		this.deleteCheckBoxColumn = deleteCheckBoxColumn;
		for (int i = 0; i < this.deleteCheckBoxColumn.length; i++) {
			this.deleteCheckBoxColumn[i] = (commonUtils.trimAll(this.deleteCheckBoxColumn[i]));
		}
	}

	public String[][] getUserProfile() {
		return userProfile;
	}

	public void setUserProfile(String[][] userProfile) {
		this.userProfile = userProfile;
	}

	public String getHidUseIdEdit() {
		return hidUseIdEdit;
	}

	public void setHidUseIdEdit(String hidUseIdEdit) {
		this.hidUseIdEdit = hidUseIdEdit;
	}

	public String getHiduserIdsearch() {
		return hiduserIdsearch;
	}

	public void setHiduserIdsearch(String hiduserIdsearch) {
		this.hiduserIdsearch = hiduserIdsearch;	
	}

	public String getHiduserNameSearch() {
		return hiduserNameSearch;
	}

	public void setHiduserNameSearch(String hiduserNameSearch) {
		this.hiduserNameSearch = hiduserNameSearch;
	}
	
}
